/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-04-06     86188       the first version
 */
#include "head_rtthread.h"

#include "svpwm.h"


void Foc_mainTask(void *parameter)
{
    static float angle = 0;
    unsigned long int count = 0;
    while(1)
    {
        count++;
        SVPWM(3, 0, count);
        rt_thread_delay(1);
    }
}
